*ClassTbl* *ClassEntry* *PTABLE* *WINDOWSEG* Viewer *ICONRESTAB* *ICONRESSEG* *ICONRES* Background *OBJTABLE* *IDTABLE* *NAMETAB* Rectangle Ellipse RoundedRectangle Polygon IrregularPolygon AngledLine Curve Field RecordField ComboBox Button PaintObject Picture Hotword *RHOTWORD* Group Stage *TbxBase* content chapterHeadings introscreen outlineOrganizer newChapterOrTopic newpage previous first strChecked outlineOrganizer chapterCount topicCount selectChars false visited strChecked strChecked outline topline group topLine X sizeIt bottomLine sizeIt sizeIt bottomLine topline m"topLine" objs rec = sz = pupp = syspageUnitsPerPixel sz > sz > xpix = syspageunitsperpixel ypix = b = ll = lr = ur = ul = ul,lr -- ll,lr,ur -- ll,ul, in,ms ThreeDeeRect bottomLine topLine outline strChecked selectedTextline Dogs 62 Dalmations 132 Poodles 129 Terriers 136 Cats 128 Siamese 134 Persian 130 Bobs 138 Bob Smith 140 Bob Jones 139399 Dogs 62 Dalmations 132 Poodles 129 Terriers 136 Elm 97 Spruce 96 44 Untitled 87 marker vertLoc vertLoc b value ypix = syspageunitsperpixel s = halfH = C- 3* strChecked buttonGroup yunewTopic false outline newChapter qkinitializePage Chapter Untitled header title buttonclick buttonclick stl = selectedTextLines "outline" vRef parentwindow initializePage currentPage %modal isopen pRef close title = "Untitled" B"Chapter" newChapter newTopic stl strChecked &New... editTopic strChecked &Delete updateButtons check buttonclick buttonclick s_cancel buttonclick buttonclick 4s_cancel Edit &Title: header topline group topLine X sizeIt bottomLine sizeIt sizeIt bottomLine topline m"topLine" objs rec = sz = pupp = syspageUnitsPerPixel sz > sz > xpix = syspageunitsperpixel ypix = b = ll = lr = ur = ul = ul,lr -- ll,lr,ur -- ll,ul, in,ms ThreeDeeRect bottomLine topLine header pageId lineNum BobsJonesrt character paragraph newChapterOrTopic cancel initializePage cancel keyChar close initializePage val keyEnter chapter &Chapter &Topic buttonclick buttonclick Cancel buttonclick buttonclick Cancel Cancel strChecked strChecked strChecked chapter myChapterID Bob Jonesrt myChapterID Bob Smithr chapter myChapterID 140,139 myPages Bobss 140,139 Persiand chapter myChapterID label Siamesed myChapterID chapter myChapterID myPages label Catstled 134,130 134,130 Terriers myChapterID chapter Poodlesd chapter myChapterID label content out,none ThreeDeeRect bottomLine topLine out,none ThreeDeeRect bottomLine topLine out,none ThreeDeeRect bottomLine topLine mychapterid title enterpage notifybefore mychapterid title Dogsenting RSIs s_oldScolor s_oldFcolor buttondown s_oldScolor s_oldFcolor buttonup buttonclick 4s_oldFcolor,s_oldScolor "sign" s_oldFColor [s_oldSColor buttonclick polygon s_oldFcolor buttondown polygon s_oldFcolor buttonup 4s_oldFcolor s_oldFColor enterpage notifybefore buttonclick buttonclick enterpage notifybefore buttonclick buttonclick buttonclick buttonclick arrow title -%, #? itemoffset chapidnum mychapterid OBmypages idnum enterpage notifyBefore chapidnum mychapterid mypages itemoffset( 2) && " " && 1 of 3 --notifybefore Press F3 to enter Author mode $^ @@ s_oldScolor buttondown s_oldScolor buttonup helpTemplate buttonclick 4s_oldScolor s_oldSColor buttonclick helpTemplate tableofcontents myCurrentChapter 71,Introduction 62,Preventing RSIs 76,About RSIs voutline label Introductionhtg chapternum label Introductionhtg chapternum label Introductionhtg chapternum label Introductionhtg chapternum idnum label RSI quiztionhtg chapternum idnum label BobssledIs RSIs chapternum topLine idnum label Dogssnting RSIs chapternum idnum label Catstledng RSIs chapternum enterpage V1D1~ ThreeDeeRect in,ms bottomLine strChecked Place your content on the pages of this background. For further information on how to use this template, choose Using This Template from the Author-level Help menu. Delete this field when you need it no longer.......d it no longer.on the topic navigates to that page. Delete this field when you need it no longer. myChapterID chapter Dalmations chapterHeadings Pages on this background are used as placeholders that mark the beginning of a chapter. These pages will not be seen in reader mode navigation. title Chapter heading page for: label OBmyPages enterpage tline buttondoubleclick notifybefore ZpList,tlist plist = myPages label stl = oselectedTextLines tline = navID = )+1 Dalmations 132 Poodles 129 Terriers 136 Topics of this chapter enterpage myChapterID 132,129,136 myPages chapterCount topicCount label Dogssnting RSIs 132,129,136 topicsBackground buttonclick buttonclick Page topicsBackground() 9501231307341047639125494508 author leavePage enterPage book Title introscreen out,sculpted ThreeDeeRect bottomLine topLine title CBT Template Click anywhere to go on in,ms ThreeDeeRect bottomLine topLine strChecked Put your introductory graphics and text here. Delete this field when you need it no longer.mplate, choose Using This Template from the Author-level Help menu. Delete this field when you need it no longer.it no longer.d it no longer.on the topic navigates to that page. Delete this field when you need it no longer. YM_BeenHere Page id 95 nitis" outline page "outlineOrganizer" Outline clientSz page "newChapterOrTopic" 49,250 Page id 94 2025,3825 ge id 101 of Book "C:\HOOK\RSI3.TBK" Page id 122 Quiz! Page id 85 Page id 100 of Book "C:\HOOK\TEMPLAT1.TBK" 2025,3930 \HOOK\TEMPLAT1.TBK" page "carpalTunnel" popuptext 2025,3525 Sans Serif Arial MS Sans Serif scrolling minbox sysmenu maxbox author tb30win.dll minbox sysmenu 9verticalDisplayRes maxbox horizontalDisplayRes fverticalDisplayRes horizontalDisplayRes reader outline ainitpage outlineOrganizer outline captionBar thickframe style ,maxbox,minbox,sysmenu X"tb30win.dll" horizontalDisplayRes() verticalDisplayRes() clientsize qes()* sysPageUnitsPerPixel,\ outline initpage "outlineOrganizer" %modal Arial Arial System info_LastSaved Group id 59 of Page id 72 MS Sans Serif Arial @80*x< MS Sans Serif false firstTime 1/23/95 1:09:32 PM Arial MS Sans Serif Sans Serif Arial MS Sans Serif ,sysmenu X"tb30win.dll" horizontalDisplayRes() verticalDisplayRes() clientsize qes()* sysPageUnitsPerPixel,\ outline initpage "outlineOrganizer" %modal AUTHOR C:\VIDEOFX.AVI C:\VIDEOFX.AVI C:\VIDEOFX.AVI Copyright 1994 Asymetrix Corporation gives you permission e, revise, reuse the individual scripts your own applications. You may J entire substantial part redistribution b product. retains copyright on original elements . Include notice "Portions are contain copied Author: Joseph Brick Last revision: 5/9/94 enterApplication "introscreen" sysRuntime c"&Contents" fhelpText "Options modifying content template." e"Template &Outline" alias "outline" c"contents" fhelptext\ "Displays/hides I palette." e"New &Chapter..." "Adds qchapter e"Change C& Name.." changeName" "Changes current Topic..." e"Using helpTemplate" ) on firstTime rebuildStructure entermenu menuName,menuAlias chaptersBackground() enable disable TopicsBackground() leaveapplication oldSys = 1= FALSE isOpen focusWindow state captionBar maximized mstate = menuItemChecked(" close inserted area, beyond topicsBackground()) Utility handlers -- returns /reference headings /"chapterheadings" updatePalette ZchapterCounter ZpagesOfEachChapter,curPage,curBackground,prevChapterHeadingPage,chapterList,listBoxText ) = 2 pageCounter = 2 curPageId = pagelabel = xNULL myPages curChapterId = myChapterID = curChapterID & "," & pageLabel & tabSpacer() & -- either /. Move ;backgrounds age = voutline "tableOfContents" initializePage currentPage -- Used box a dialog used store extra information that gets clipped side extractName t tabOffset = extractID t lastTabLoc = U(t) numerical location itemOffset itm,lst color middleGray 240,63.5,2.1875 dark darkBlue 240,25.125,100 tabs. This serves a spacer between on each listbox. mydir = sen = sysErrorNumber se = ss = bref = u&"tmplhelp.tbk") 1= ss "Cannot find 8TMPLHELP.TBK" vref = defaultpage "cbt1" r= se newChapter promptForName chapterName = "Untitled" ("Enter ls = ssm = syssuspendmessages !"skipdialog" e= ls newTopic pageNum ls = = ssm e= ls AUTHOR sized ZbuttonPos spupp = sysPageUnitsPerPixel pRef currentPage gHeader gButtons "buttonGroup" gOutline "outline" marker oclientsize rightBorder cs - bottomBorder cs - bSize cs - sizeIt - 4* fb+10* fb - 18* openWindow Zsm_cxframe,sm_cyframe,sm_cycaption,defaultSize,defaultPosition {winRef 4metric indexes: 32 -- width sizable 33 -- height 4 -- 3000,5000 "0,0" X"user" INT getSystemMetrics( -- cache {references stored clientSize ini file clientSz pageUnitsToClient( the borders captions extraWidth extraHeight )*2+\ winref -- calculate maximimum ebased on maxSize "outlineOrganizer" ) maximumSize chandling about box: windowsized closeWindow statusbar label "title" value "outline" selectedTextLines currentPage clearing a "You cannot delete the "Warning: operation 9be reversed ]Undo." f"OK" "Cancel" ls = curBK = xtopicsBackground() xchaptersBackground() rebuildStructure e= ls -- same [handler f"OK" ls = e= ls newChapter "outline" selectedTextLines currentPage label "title" value added, newTopic [the myPages userProperty -- chapter heading deleted. "You cannot "Warning: operation 3be reversed ]Undo." f"OK" "Cancel" ls = curBK = xtopicsBackground() xchaptersBackground() rebuildStructure e= ls -- maintain navigational structure f"OK" ls = e= ls numTabs normalFill 240,18.8125,100 normalStroke highlightFill 240,37.625,33.3125 highlightStroke highlighted value H-30,-30 B"chapternum" H30,30 currentChapter > 0 "mask" myCurrentChapter updateLabels curGroup = "label" (idnum voutline numChapters curTextLine curgroup curTextline notifyBefore buttonclick chapButton oldChap xisObject(" " && "The heading has been deleted. To reset, the ""Content Outline"" dialog box press ""OK""" myPages "This navPage -- initializes the structure outline form chapters < extractName strng tabOffset = lastTabLoc = -- puts a insertName ,newName "" startLoc = 2 endLoc = R(startloc - 1) -- pulls zout -- < extractNumber txt colOffset ~(":", .- 1 istype(" 4s_cancel keyEnter updateText lineNum chapter fref "outline" curLine insertName( pRef = (pageID label chaptersBackground() updateLabels "tableofcontents" bkRef = topicsBackground() 4s_enterText enabled "updateButtons" buttonclick o = "outline" stl = selectedTextLines tlineNum = chapterOrPage "Delete (s)?" f"OK" "Cancel" startline ssm = sysSuspendMessages (stl) curID = extractID( BstartLine "Cannot delete the /" && /& "." curBK = xtopicsBackground() xchaptersBackground() = ssm rebuildStructure renumberText count extractNumber( ~(":", t)-1 key,isShift keyupArrow && keyDownArrow && keyFirst && keyLast oselectedtextlines updateHeader tl 4s_cancel stl = selectedTextLines lineNum fref = txtline = chapter txtLine) extractName( pageId extractID( enabled "updateButtons" maxChapter C(t) -- This main dragAndDrop code: 4s_navFromPalette sls = gotopage enormous handler handles selecting, dragging, dropping listbox ZstartLine,endLine,lineHeight,mybounds,xloc,mytext -- Find Bclicked on. will be starting -- Break user V edge startline = <= 0 Uwe want n. we value -- later we've a heading: endline = -- lineheight pageUnits (see below): -- Cache commonly used values xpix = sysPageUnitsPerPixel ypix = myBounds = myText = marker = totalLineCount = we know be between sides -- The following section selects B(s): -- lineList corresponding -- we wish 9-- (We've headingOrTopic = " -- Walk down Zwe hit another -- incrementing needed: oselectedTextlines moves arrow up -- targetLine insertion point loop executes mousebutton released: mouseLoc = -- above -- calculate Ucurrently -- there's beyond -- somewhere pnt = -- -- vertLoc -- lineYloc returns `location a given -- -- inside U(s): toward U(s) 1 place -- that we -- numLines . + 1 -- targetline > -- we asure moved -- -- original -- "," & reorder scrollToSelectedTextLine (stl) b = s = > s + - numlines,0) units - 1 - -- adjusts . Called adjustsize n b = * n + 3* v = b - 16* -- initialize the sized outfield = "outline" ypix = sysPageUnitsPerPixel o = b = syssuspendmessages = adjustsize ylineheight o,3) font gets changed , reset fontChange 4s_lheight notifyAfter -- returns a given linkStuff fref makeFont stringHeight() destroyFont windows stuff linkstuff X"gdi" getTextExtent( gselectObject( deleteObject( gcreateFont( linkDLL "user" ggetDC( releaseDC( makefont fontName,pitch, weight ghfont,hOldObject,hdc sysClientHandle) syspageunitsperpixel fheight ((1440/ /72)) -- pixels hFont <,0,0,0, ,0,0,0,0,0,0,0,0, "Failure: no logical created." -- kills sysclientHandle, twips, length stringLen ,strlen strLen k65536) * "aaa",3) y65536) * Displays/hides Template Outline palette. helpTemplate &Contents Change To&pic Name.. Using this &Template introscreen Displays help on using this template. Options for modifying content of this template. Changes name of current chapter. New &Chapter... outline false changeName rebuildStructure firstTime firstTime Adds new chapter to this book. Change C&hapter Name.. Changes name of topic chapter. New &Topic... Adds new topic to this chapter. contents Template &Outline enterApplication Change Chapter Name... chaptersBackground author outline Change Topic Name... contents TopicsBackground entermenu helpTemplate Contents leaveapplication outline author outline reader outline mstate rebuildStructure contents outline chaptersBackground topicsBackground newBackground chapterheadings chaptersBackground content topicsBackground w, #> .', 7 w, #> PBmyPages voutline curChapterId myChapterID introscreen pagelabel outline y5chapter tabSpacer curPageId tableOfContents Content chaptersBackground label topicsBackground qkinitializePage rebuildStructure .', " extractName extractID ,&H.& itemOffset O@middleGray 9@darkBlue tabSpacer .', " Cannot find book TMPLHELP.TBK mydir tmplhelp.tbk helpTemplate initializePage cancel chaptersBackground label rebuildStructure chapterName skipdialog Enter new chapter name. Untitled topicsBackground newChapter cancel Enter new topic name. chaptersBackground lastPage label rebuildStructure chapterName skipdialog Untitled topicsBackground newTopic cancel Enter new name. label rebuildStructure label changeName AUTHOR sizeToPage buttonGroup gHeader marker gButtons outline spupp X sizeIt bSize header gOutline rightBorder sized getSystemMetrics exclientSz maxSize clientSz getSystemMetrics outlineOrganizer openWindow <+V!! statusbar fxclientSz closeWindow title label title label outline enterPage .', " Cancel Warning: this operation cannot be reversed using Undo. chaptersBackground curBK rebuildStructure You cannot delete the last page of this background. topicsBackground clear .', " Cancel Warning: this operation cannot be reversed using Undo. chaptersBackground curBK rebuildStructure You cannot delete the last page of this background. topicsBackground newChapter newPage outline enterPage title label title label yunewTopic newPage .', " Cancel Warning: this operation cannot be reversed using Undo. chaptersBackground curBK rebuildStructure You cannot delete the last page of this background. topicsBackground clear .', " Cancel Warning: this operation cannot be reversed using Undo. chaptersBackground curBK rebuildStructure You cannot delete the last page of this background. topicsBackground numTabs 2@normalFill normalStroke B@highlightFill highlightStroke 2normalStroke chapternum normalFill 8highlightFill highlightStroke highlighted false myCurrentChapter EnumTabs highlighted currentChapter currentChapter myCurrentChapter currentChapter ,&H.& label curGroup idnum label updateLabels curTextLine curgroup label idnum EnumTabs idnum voutline x5chapter currentChapter enterpage w, #? oldChap The chapter heading page has been deleted. To reset, open the "Content Outline" dialog box and press "OK" Button curGroup navPage Field chapButton idnum page id This chapter has no pages. chapternum currentChapter OBmyPages currentChapter buttonclick outlineField outline LPscrollToSelectedTextline updateHeader initializePage s_lheight enterpage ,&H.& extractID curTextLine false outline curID voutline rebuildStructure curPage reorder extractName extractID 1, "j insertName .', " extractNumber s_cancel false keychar curLine bkRef chaptersBackground outline label insertName pageID tableofcontents content chapter x5chapter lineNum topicsBackground BlineNum updateLabels updateText s_enterText updateButtons enterField s_cancel s_enterText updateButtons updateText leaveField Cancel extractID chaptersBackground curBK chapterOrPage tlineNum curID Cannot delete the last page of background startline rebuildStructure chapter Delete selected page(s)? outline topicsBackground buttonclick 1, "j ,&H.& count OZextractNumber renumberText keychar keyFirst keyLast keyup .'+ + txtline s_cancel extractID extractName y5chapter BlineNum updateButtons lineNum OZextractNumber pageId header updateHeader OZextractNumber maxChapter extractID gotopage s_navFromPalette buttondoubleclick V, #> mouseLoc 7renumberText marker count headingOrTopic lineHeight targetLine lineList /?reorder tlines topic llineYloc heading updateHeader tline IvertLoc buttondown lineHeight scrollToSelectedTextLine lineYloc marker lineHeight adjustsize outline lineheight outfield adjustsize sized s_lheight fontChange fontChange character fontChange paragraph UdmakeFont destroyFont linkStuff outline s_lheight /$stringHeight lineheight getDC releaseDC SIgetTextExtent selectObject deleteObject bol-# createFont linkstuff ,"JHY selectObject hOldObject }releaseDC Failure: no logical font created. getDC createFont hfont weight makefont .', " selectObject deleteObject hOldObject }releaseDC hfont destroyFont jogetTextExtent stringLen jogetTextExtent stringHeight CDBSE&File &Open... Ctrl+O &Save Ctrl+S Save &As... saveas &Import... import &Export... export Print Set&up... printsetup &Print Pages... Ctrl+P printpages Prin&t Report... printreport Send &Mail... sendmail &Run... E&xit Alt+F4 &Edit &Undo Ctrl+Z Cu&t Ctrl+X &Copy Ctrl+C &Paste Ctrl+V paste C&lear Del clear Select &All Shift+F9 selectall Select Pa&ge Shift+F12 selectpage &Size to Page F11 sizetopage F&ind... F5 Re&place... replace Aut&hor F3 author &Text &Character... F6 character &Paragraph... F7 paragraph &Regular Ctrl+Space regular &Bold Ctrl+B &Italic Ctrl+I italic &Underline Ctrl+U underline Stri&keout Ctrl+K strikeout Superscrip&t/Subscript superscriptSubscript &Normal Script normalscript Su&bscript Ctrl+L subscript Su&perscript Ctrl+Shift+L superscript &Show Hotwords F9 showhotwords &Page &Next Alt+Right &Previous Alt+Left previous &First Alt+Up first &Last Alt+Down &Back Shift+F2 &History... Ctrl+F2 history N&ew Page Ctrl+N newpage &Help &Contents F1 contents Status &Bar F12 statusbar wrwww w"'ww r'"ww "wr'w 'ww"w wwwr' wwww" wwwwr wxwww wwwwx xwwwp xwwwp xwwwp xwwwp xwwwp xwwwp wwwwwp wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwww wwwwww wwwww wwwww wwwwww wwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwww wwwwwww wwwwww wwwww wwwww wwwwww wwwwwwwwwwwwwwwwwwwwww wrwww w"'ww r'"ww "wr'w 'ww"w wwwr' wwww" wwwwr wxwww wwwwx mmc_pause mmc_pause_d mmc_stop mmc_stop_d mmc_play mmc_play_d tbk_Reset notifyAfter tbk_Reset enterPage tbk_Reset Book structure .0@0u4 propType specialist propOwner Initial Book Structuree The title page is the first page in the book. These are general purpose content pagess Use this pag